WPS Office.apk(点击下载) / jwp.java


package defpackage;

import android.content.Context;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.lang.ref.SoftReference;

/* renamed from: jwp  reason: default package */
public class jwp {
    private static SoftReference<jwp> hny;
    public Gson mGson = new Gson();

    private jwp() {
    }

    public static jwp cZs() {
        if (hny == null || hny.get() == null) {
            synchronized (jwp.class) {
                if (hny == null || hny.get() == null) {
                    hny = new SoftReference<>(new jwp());
                }
            }
        }
        return hny.get();
    }

    public final jwo<jwv> a(Context context, jws jws) {
        jwo<jwv> jwo = new jwo<>(context.getApplicationContext());
        jwo.mRequestUrl = "https://easy.wps.cn/wppv3/fetch/antag";
        jwo.laA = 1;
        jwo.lGF = this.mGson.toJson(jws);
        jwo.laC = new TypeToken<jwv>() {
            /* class defpackage.jwp.AnonymousClass1 */
        }.getType();
        return jwo;
    }
}